package com.example.bookmanager.Service;

import com.example.bookmanager.Mapper.UserInfoMapper;
import com.example.bookmanager.Model.UserInfo;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo queryUserByName(String username) {
        return userInfoMapper.queryUserByName(username);
    }
}
